package service.impl;

import dao.UserDao;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.SysUser;
import service.UserService;
@Service
public class UserServiceimpl implements UserService {
    @Autowired
    UserDao userDao;
    @Override
    public SysUser selectOne(String name) {
        SysUser user = userDao.selectOne(name);
        return user;
    }
}
